package org.jeecg.modules.flow.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import org.jeecg.common.constant.ProvinceCityArea;
import org.jeecg.common.util.SpringContextUtils;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 采购申请明细表
 * @Author: jeecg-boot
 * @Date:   2025-04-22
 * @Version: V1.0
 */
@Data
@TableName("wm_purchase_requisition_detail")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@Schema(description="采购申请明细表")
public class WmPurchaseRequisitionDetail implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "主键")
    private java.lang.String id;
	/**创建人*/
    @Schema(description = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @Schema(description = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @Schema(description = "所属部门")
    private java.lang.String sysOrgCode;
	/**申请单ID*/
	@Excel(name = "申请单ID", width = 15)
    @Schema(description = "申请单ID")
    private java.lang.String wmPurchaseRequisitionId;
	/**需求池编码*/
	@Excel(name = "需求池编码", width = 15)
    @Schema(description = "需求池编码")
    private java.lang.String requisitionDetailCode;
	/**物料ID*/
	@Excel(name = "物料ID", width = 15)
    @Schema(description = "物料ID")
    private java.lang.String wmMaterialId;
	/**申请数量*/
	@Excel(name = "申请数量", width = 15)
    @Schema(description = "申请数量")
    private java.math.BigDecimal applyQuantity;
	/**采购员ID*/
	@Excel(name = "采购员ID", width = 15)
    @Schema(description = "采购员ID")
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "id")
    private java.lang.String purchaserId;
	/**参考供应商*/
	@Excel(name = "参考供应商", width = 15)
    @Schema(description = "参考供应商")
    private java.lang.String suggestSupplier;
	/**到货日期*/
	@Excel(name = "到货日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @Schema(description = "到货日期")
    private java.util.Date arrivalDate;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @Schema(description = "备注")
    private java.lang.String remark;
	/**是否进入需求池 0 否 1是*/
	@Excel(name = "是否进入需求池", width = 15)
    @Schema(description = "是否进入需求池")
    @Dict(dicCode = "yn")
    private java.lang.Integer isActivate;
}
